package Box2D.Collision
{
	import Box2D.Common.Math.b2Vec2;
	import Box2D.Common.b2Wrapper;
	
	public class b2RayCastInput extends b2Wrapper
	{
		private var _p1:b2Vec2;
		private var _p2:b2Vec2;
		public function b2RayCastInput(wrapper:Object = null)
		{
			if(wrapper==null)
				wrapper = callDirect('b2RayCastInput_new')
			super(wrapper);
			_p1 = new b2Vec2(0,0,wrapper);
			_p2 = new b2Vec2(0,0,wrapper+8);
		}
		
		public function get p1():b2Vec2{return _p1}
		public function set p1(value:b2Vec2):void{_p1.Copy(value)}
		
		public function get p2():b2Vec2{return _p2}
		public function set p2(value:b2Vec2):void{_p2.Copy(value)}
		
		public function get maxFraction():Number{return getNumber(16)}
		public function set maxFraction(value:Number):void{setNumber(16,value)}
	}
}